<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>模板渲染</title>
</head>
<body>
    <ul>
        {% for foo in alist %}
           <li> {{ foo }}</li>
        {% endfor %}
    </ul>


</body>
</html>